package Interface.InterfaceDome006;

/**
 * ClassName:BasketballCoach
 * Package:Interface.InterfaceDome006
 * Description:
 *
 * @Author:ZhangXin
 * @Create2023/1/25-13:52
 * @Version:v1.0
 */
public class BasketballCoach extends Coach{
    public BasketballCoach() {
    }

    public BasketballCoach(String name, int age) {
        super(name, age);
    }

    @Override
    public void teach() {
        System.out.println("蓝球教练"+getName()+"正在教如何打篮球");
    }
}
